package org.sunny.config;

import org.springframework.context.annotation.*;

@Configuration
@ComponentScan(basePackages = "org.sunny.autobean")
@Import(MyConfig2.class)
public class MyConfig {
    @Bean
    public MyBean getMyBean(){
        return new MyBean();
    }

}
